define i32 @main() {
B23:                               	; succs = %B26
  %t40 = alloca i32, align 4
  %t31 = alloca i32, align 4
  %t25 = alloca i32, align 4
  %t24 = alloca i32, align 4
  br label %B26
B26:                               	; preds = %B23                               	; succs = %B27
  br label %B27
B27:                               	; preds = %B26, %B29                               	; succs = %B28, %B33
  @i = load i32, i32* %t31, align 4
  @a = load i32, i32* %t24, align 4
  %t1 = mul i32 @a, 2
  %t2 = icmp slt i32 @i, %t1
  br i1 %t2, label %B28, label %B33
B28:                               	; preds = %B27                               	; succs = %B35
  br label %B35
B33:                               	; preds = %B27                               	; succs = %B30
  br label %B30
B35:                               	; preds = %B28                               	; succs = %B36
  br label %B36
B30:                               	; preds = %B33
  @sum = load i32, i32* %t25, align 4
  call void @print(@sum)
  ret i32 0
B36:                               	; preds = %B35, %B38                               	; succs = %B37, %B42
  @j = load i32, i32* %t40, align 4
  @a = load i32, i32* %t24, align 4
  %t4 = icmp slt i32 @j, @a
  br i1 %t4, label %B37, label %B42
B37:                               	; preds = %B36                               	; succs = %B47, %B49
  @j = load i32, i32* %t40, align 4
  @a = load i32, i32* %t24, align 4
  %t6 = sdiv i32 @a, 2
  %t7 = icmp slt i32 @j, %t6
  br i32 %t7, label %B47, label %B49
B42:                               	; preds = %B36                               	; succs = %B39
  br label %B39
B47:                               	; preds = %B37
B49:                               	; preds = %B37                               	; succs = %B45
  br label %B45
B39:                               	; preds = %B42                               	; succs = %B29
  br label %B29
B45:                               	; preds = %B49                               	; succs = %B52
  br label %B52
B29:                               	; preds = %B39                               	; succs = %B27
  @i = load i32, i32* %t31, align 4
  %t3 = add i32 @i, 1
  store i32 %t3, i32* %t31, align 4
  br label %B27
B52:                               	; preds = %B45, %B51                               	; succs = %B51, %B56
  @sum = load i32, i32* %t25, align 4
  @j = load i32, i32* %t40, align 4
  %t16 = icmp sgt i32 @sum, @j
  br i32 %t16, label %B51, label %B56
B51:                               	; preds = %B52                               	; succs = %B52
  @sum = load i32, i32* %t25, align 4
  %t21 = sdiv i32 3, 2
  %t22 = sub i32 @sum, %t21
  store i32 %t22, i32* %t25, align 4
  br label %B52
B56:                               	; preds = %B52                               	; succs = %B54
  br label %B54
B54:                               	; preds = %B56
}
